Transforming data topic
Derive new lists.
Functions
-
cross<
T> (Iterable< Transforming dataIterable< iterables) → List<T> >List< T> > -
Returns the
Cartesian product of the
specified
iterables
. -
crossWith<
T, R> (Iterable< Transforming dataIterable< iterables, R reducer(List<T> >T> )) → List<R> -
Returns the
Cartesian product of the
specified
iterables
, applying the specifiedreducer
function to each combination of elements. -
filter<
T> (Iterable< Transforming dataT> iterable, bool test(T)) → List<T> -
Returns a new list containing the values from
iterable
, in order, for which the given test function returns true. -
map<
T, R> (Iterable< Transforming dataT> iterable, R mapper(T)) → List<R> -
Returns a new list containing the mapped values from
iterable
, in order, as defined by givenmapper
function. -
merge<
T> (Iterable< Transforming dataIterable< iterables) → List<T> >T> -
Merges the specified iterable of
iterables
into a single list. -
pairs<
T> (Iterable< Transforming dataT> iterable) → List<(T, T)> -
Returns a list of pairs from consecutive values of the provided
iterable
. -
pairsWith<
T, R> (Iterable< Transforming dataT> iterable, R reducer(T, T)) → List<R> -
Returns a list of values yielded by the
reducer
function applied to each pair of consecutive elements from the providediterable
. -
transpose<
T> (Iterable< Transforming dataIterable< matrix) → List<T> >List< T> > -
Returns a list of lists, where the ith list contains the ith element from
each of the iterables in the
matrix
.